//
//  RBGoodsDetailFootView.h
//  XinJiangMall
//
//  Created by RaoBo on 2018/5/16.
//  Copyright © 2018年 Tzyang. All rights reserved.
//

#import <UIKit/UIKit.h>
@class RBGoodDetailFooterButton;

typedef void(^RBGoodsDetailFootrClickStoreBlock)(void);
typedef void(^RBGoodsDetailFooterClickKeFuBlock)(void);
typedef void(^RBGoodsDetailFooterClickStarBlock)(BOOL isSelectBtn);
typedef void(^RBGoodsDetailFooterClickAddToShopcartBlock)(void);
typedef void(^RBGoodsDetailFooterClickBuyNowBlock)(void);

@interface RBGoodsDetailFootView : UIView

@property(nonatomic, copy) RBGoodsDetailFootrClickStoreBlock clickStoreBlock;

/**创建的时候根据model的状态 来切换btn是否选中*/
@property(nonatomic, assign) BOOL isStar;

/**2点击客服block*/
@property (nonatomic, copy) RBGoodsDetailFooterClickKeFuBlock clickKeFuBlock;
/**3点击收藏block 将button回调出去在外面修改选中状态*/
@property (nonatomic, copy) RBGoodsDetailFooterClickStarBlock clickStarBlock;
/**4点击添加到购物车block*/
@property (nonatomic, copy) RBGoodsDetailFooterClickAddToShopcartBlock clickAddShopcartBlock;
/**5点击立即购买block*/
@property (nonatomic, copy) RBGoodsDetailFooterClickBuyNowBlock clickBuynowBlock;
@end
